package day01.日期类.localTime类;

import java.time.LocalTime;

/**
 * @author feng
 * @Date 2022/1/3 19:30
 * 本地时间类
 */
public class Test1 {
    public static void main(String[] args) {
        //1.获取本地时间
        LocalTime Nowtime = LocalTime.now();
        //2. 指定时间
        LocalTime localTime = LocalTime.of(5, 20, 30);
        System.out.println(localTime);


    }
}
